package meconsea.webcoll.uc.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import meconsea.webcoll.base.entity.AbsEntity;
import meconsea.webcoll.base.entity.IEntity;

import org.hibernate.annotations.Type;

@SuppressWarnings("serial")
@Entity
@Table(name="uc_user_index")
public class UcUserIndex extends AbsEntity implements IEntity {
	@Column(name="loginname",length=32)
	private String loginame;
	@Column(name="cnName",length=32)
	private String cnName;
	@Column(name="accessedSum")
	@Type(type="integer")
	private int accessedSum;
	@Column(name="template",length=256)
	private String template;
	@Column(name="style",length=256)
	private String style;
	//个人首页通告
	@Column(name="notice",length=1024)
	private String notice;
	//采用JSON方式存储各个模块的定制
	@Column(name="moduleStyle",
			length=512)
	private String moduleStyle;
	//json
	@Column(name="accessList",length=512)
	private String accessList;
	@Column(name="other",length=1024)
	private String other;
	@Column(name="isCommend")
	@Type(type="integer")
	private int isCommend;
	public int getIsCommend() {
		return isCommend;
	}
	public void setIsCommend(int isCommend) {
		this.isCommend = isCommend;
	}
	public String getLoginame() {
		return loginame;
	}
	public void setLoginame(String loginame) {
		this.loginame = loginame;
	}
	public String getCnName() {
		return cnName;
	}
	public void setCnName(String cnName) {
		this.cnName = cnName;
	}
	public int getAccessedSum() {
		return accessedSum;
	}
	public void setAccessedSum(int accessedSum) {
		this.accessedSum = accessedSum;
	}
	public String getTemplate() {
		return template;
	}
	public void setTemplate(String template) {
		this.template = template;
	}
	public String getStyle() {
		return style;
	}
	public void setStyle(String style) {
		this.style = style;
	}
	public String getNotice() {
		return notice;
	}
	public void setNotice(String notice) {
		this.notice = notice;
	}
	public String getModuleStyle() {
		return moduleStyle;
	}
	public void setModuleStyle(String moduleStyle) {
		this.moduleStyle = moduleStyle;
	}
	public String getAccessList() {
		return accessList;
	}
	public void setAccessList(String accessList) {
		this.accessList = accessList;
	}
	public String getOther() {
		return other;
	}
	public void setOther(String other) {
		this.other = other;
	}
}
